home *** CD-ROM | disk | FTP | other *** search
-
- GROUP(5) UNIX Programmer's Manual GROUP(5)
-
- NNAAMMEE
- ggrroouupp - format of the group permissions file
-
- DDEESSCCRRIIPPTTIIOONN
- The file <_/_e_t_c_/_g_r_o_u_p> consists of newline separated ASCII records, one
- per group, containing four colon `:' separated fields. These fields are
- as follows:
- group Name of the group.
- passwd Group's _e_n_c_r_y_p_t_e_d password.
- gid The group's decimal ID.
- member Group members.
-
- The _g_r_o_u_p field is the group name used for granting file access to users
- who are members of the group. The _g_i_d field is the number associated
- with the group name. They should both be unique across the system (and
- often across a group of systems) since they control file access. The
- _p_a_s_s_w_d field is an optional _e_n_c_r_y_p_t_e_d password. This field is rarely
- used and an asterisk is normally placed in it rather than leaving it
- blank. The _m_e_m_b_e_r field contains the names of users granted the privi-
- leges of _g_r_o_u_p. The member names are separated by commas without spaces
- or newlines. A user is automatically in a group if that group was speci-
- fied in their _/_e_t_c_/_p_a_s_s_w_d entry and does not need to be added to that
- group in the _/_e_t_c_/_g_r_o_u_p _f_i_l_e_.
-
- YYPP SSUUPPPPOORRTT
- If YP is active, the ggrroouupp file may also contain lines of the format
-
- +name:*::
-
- which causes the specified group to be included from the _g_r_o_u_p_._b_y_n_a_m_e YP
- map.
-
- If no group name is specified, or the ``+'' (plus sign) appears alone on
- line, all groups are included from the YP map.
-
- YP references may appear anywhere in the file, but the single ``+'' form
- should be on the last line, for historical reasons. Only the first group
- with a specific name encountered, whether in the ggrroouupp file itself, or
- included via YP, will be used.
-
- FFIILLEESS
- /etc/group
-
- SSEEEE AALLSSOO
- setgroups(2), initgroups(3), crypt(3), passwd(1), passwd(5), yp(8)
-
- BBUUGGSS
- The passwd(1) command does not change the ggrroouupp passwords.
-
- HHIISSTTOORRYY
- A ggrroouupp file format appeared in Version 6 AT&T UNIX.
-
- YP file format first appeared in SunOS.
-
- BSD Experimental July 18, 1995 1
-